package com.controller.ssjf;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.controller.base.BaseController;
import com.service.AboutService;

@Controller
@RequestMapping("/ssjf/page")
public class SSJFAboutController extends BaseController<Object>{
	
	@Autowired
	private AboutService aboutService;
	
	@RequestMapping("/about.html")
	public String about(Model model){
		model.addAttribute("about", aboutService.find());
		return "ssjf/pages/about";
	}

}
